package com.yc.testThread;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class BlockThread {
	
	public void m1(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		String inputStr = null;
		try {
			inputStr = br.readLine();
		} catch (IOException e) {
			e.printStackTrace();
		}
		System.out.println("您输入字符串：" + inputStr);
	}

	public static void main(String[] args) {
		BlockThread bt = new BlockThread();
		bt.m1(args);

	}

}
